package com.mic.service;

import com.mic.pojo.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdminService {
    int addUser(User user);
    int deleteUser(Integer userId);
    int updateUser(User user);
    List<User> queryAllUser();
    List<Admin> queryAllAdmin();
    List<Article> queryAllArticle();

    User queryUserByUserId(Integer userId);



}
